package com.megic.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Gene
 * @Date 2020/8/9 7:06
 * @Version 1.0
 */
@RestController
@Slf4j
public class TestController {

    @RequestMapping("/test/test")
    public String test(){

        return "返回sentinel调用成功";
    }
    @RequestMapping("/test/test1")
    public String test1(){
        log.info("我要处理问题了");
        return "返回sentinel调用成功";
    }
}
